//
//  FuelMonthModel.h
//  carcareIOS
//
//  Created by ileo on 16/4/12.
//  Copyright © 2016年 chezheng. All rights reserved.
//

#import "BaseModel.h"
#import "DateModel.h"

#define FORMAT @"yyyy-MM-dd (ccc)  H点"


@interface FuelMonthModel : BaseModel

@property (nonatomic, assign) NSInteger totalTimes;//总次数
@property (nonatomic, assign) CGFloat totalCost;//总费用
@property (nonatomic, assign) CGFloat totalFuelL;//总升数

@property (nonatomic, strong) DateModel *monthModel;//月份

@property (nonatomic, copy) NSArray *fuelRecords;//当月加油记录

@end

@interface FuelRecordModel : BaseModel

@property (nonatomic, copy) NSString *CDT;//加油时间
@property (nonatomic, copy) NSString *FUELLABEL;//油号（原始）
@property (nonatomic, assign) CGFloat FUELPRICE;//油价
@property (nonatomic, copy) NSString *GPS;//GPS
@property (nonatomic, copy) NSString *GSTATION_NAME;//加油站
@property (nonatomic, assign) NSInteger ID;//ID
@property (nonatomic, assign) CGFloat NEWFUEL;//加油后升数
@property (nonatomic, copy) NSString *NEWFUELLABEL;//油号（用于显示）
@property (nonatomic, assign) CGFloat OLDFUEL;//加油前升数
@property (nonatomic, assign) BOOL ISAUTO;//是否是自动添加的数据
@property (nonatomic, assign) NSInteger NEWRECORDS;//加油时里程
@property (nonatomic, assign) BOOL ISREAD;//是否已读
@property (nonatomic, assign) CGFloat AMOUNT;//总价

-(NSDictionary *)uploadDic;

@property (nonatomic, assign) CGFloat fuelVol;//加油升数
@property (nonatomic, copy) NSString *cdt;//加油时间(用于加油记录详情页面的显示 格式：2014.02.03)
@property (nonatomic, assign) CGFloat totalPrice;//总价
@property (nonatomic, copy) NSString * oilMainCdt;//加油时间（用于显示加油记录主页的   格式：02月23日）

@property (nonatomic , copy) NSString * longitude;//精度
@property (nonatomic , copy) NSString * latitude;//纬度

@property (nonatomic, copy) NSString *monthKey;//年－月

@end


